package com.example.demo.study.objectpolymorphic;

public class Dog extends Animal{

    //重写eat方法
    public void eat(){
        System.out.println("狗吃骨头");
    }
    public void lookHome(){
        System.out.println("看家");
    }
}
